package enemies;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.doge.*;
import com.doge.Character;

public class Fairy extends Character
{	
	public Fairy(TextureRegion t, Tile position){
		super(t,position);
		
		name = "Fairy";
		health = 50;
		dogeCoins = 5;

		battleActions.add(new BattleAction("Wait",5,1,0));
		battleActions.add(new BattleAction("Heal",50,1,100));
	}
	
	public Fairy(Tile position)
	{
		this(Textures.fairy,position);
		
	}
	
	public BattleAction getNextAction()
	{
		if(health <= 20 && energy == 100)
		{
			energyRegen = 3;
			return battleActions.get(1);
		}
		else
			return battleActions.get(0);
	}
}